import java.util.HashMap;
import java.util.TreeMap;


public class Teste {

	public static void main(String[] args) {


		HashMap<String,Double> map = new HashMap<String,Double>();
//        ValueComparator bvc =  new ValueComparator(map);
        TreeMap<String,Double> sorted_map = new TreeMap<String,Double>(map);

        map.put("D",67.3);
        map.put("C",67.4);
        map.put("B",67.4);
        map.put("A",99.5);

        System.out.println("unsorted map: "+map);

        sorted_map.putAll(map);

        System.out.println("results: "+sorted_map);
		
	}

}
